package com.hzdl.car.vo;

import com.hzdl.car.bean.Log;
import com.hzdl.car.bean.News;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class NewsVo extends News implements Serializable{
    private Integer page;
    private  Integer limit;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime1;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime2;
    private Integer ids;

    @Override
    public String toString() {
        return "NewsVo{" +
                "page=" + page +
                ", limit=" + limit +
                ", createTime1=" + createTime1 +
                ", createTime2=" + createTime2 +
                ", ids=" + ids +
                '}';
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Date getCreateTime1() {
        return createTime1;
    }

    public void setCreateTime1(Date createTime1) {
        this.createTime1 = createTime1;
    }

    public Date getCreateTime2() {
        return createTime2;
    }

    public void setCreateTime2(Date createTime2) {
        this.createTime2 = createTime2;
    }

    public Integer getIds() {
        return ids;
    }

    public void setIds(Integer ids) {
        this.ids = ids;
    }
}
